package com.liao.badminton.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.liao.badminton.entity.SystemRole;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author liaocheng
 * @date 2023-11-22
 * description:角色信息表
 */
@Mapper
public interface SystemRoleMapper extends BaseMapper<SystemRole> {
    List<SystemRole> findByUserName(String userName);

    List<String> findCodeByUserName(String userId);
}
